package com.cx.afc_android.common;

import android.view.View;

import com.hjq.base.BaseDialogFragment;

import androidx.annotation.NonNull;
import androidx.fragment.app.FragmentActivity;
import butterknife.ButterKnife;

/**
 * Created by chenxiang on 2019/9/25.
 */

public class MyDialogFragment {
    public static class Builder<B extends MyDialogFragment.Builder>
            extends BaseDialogFragment.Builder<B> {

        public Builder(FragmentActivity activity) {
            super(activity);
        }

        @Override
        public B setContentView(@NonNull View view) {
            // 使用 ButterKnife 注解
            ButterKnife.bind(this, view);
            return super.setContentView(view);
        }

    }
}
